//
//  FuseMsg.m
//  MyApplication
//
//  Created by issac on 15/7/29.
//  Copyright (c) 2015年 52xiaoluo. All rights reserved.
//

#import "FuseMsg.h"

@implementation FuseMsg


+ (FuseMsg *)buildFuseMsgWithSeq:(UInt64)seqNum
{
    MsgBuilder *builder = [[MsgBuilder alloc] init];
    MsgHeadBuilder *headBuilder = [[MsgHeadBuilder alloc]init];
    
    [headBuilder setFromUin:123];
    [headBuilder setMsgSeq:seqNum];
    [headBuilder setMsgTime:123];
    [headBuilder setMsgType:123];
    [headBuilder setToUin:456];
    
    MsgBodyBuilder *bodyBuilder = [[MsgBodyBuilder alloc]init];
    
    [builder setMsgHead:headBuilder.build];
    [builder setMsgBody:bodyBuilder.build];
    
    
    
    FuseMsg *fuse = [[FuseMsg alloc]init];
    fuse.msg = builder.build;
    return fuse;

}

@end
